There are differences in the definition of floating-point numbers and long variable types. 浮点型数字和长变量类型的定义是有差异的。
For instance, if you assign an integral value to a floating-point variable, the compiler will automatically convert the int to a float. 例如,假设我们为浮点变量分配一个整数值,计算机会将int自动转换成float。